package com.example.vehiclemanagesystem.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.time.LocalTime;

@Entity
public class Feedback {
    @Id
    private Integer client_id;
    private String message;
    private boolean valid;
    private LocalTime f_time;

    public Feedback(Integer client_id, String message, boolean valid, LocalTime f_time) {
        this.client_id = client_id;
        this.message = message;
        this.valid = valid;
        this.f_time = f_time;
    }

    public Feedback() {

    }

    public Integer getClient_id() {
        return client_id;
    }

    public String getMessage() {
        return message;
    }

    public boolean isValid() {
        return valid;
    }

    public LocalTime getF_time() {
        return f_time;
    }

    public void setClient_id(Integer client_id) {
        this.client_id = client_id;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setValid(boolean valid) {
        this.valid = valid;
    }

    public void setF_time(LocalTime f_time) {
        this.f_time = f_time;
    }
}
